#include<iostream>
#include<map>
#include<string>
#include<utility>
using std::endl;
using std::cout;
using std::map;
using std::string;
using std::pair;
//make_pair
using std::make_pair;

void test0()
{
    map<int,string>number2;
    number2.insert({{1,"wtto"},{2,"hello"}});
    map<int,string>number3;
    number3.insert(pair<int,string>(3,"wdang"));
    number3.insert(std::make_pair(4,"guangzhou"));
    number2.insert(number3.begin(),number3.end());  //这里是把另一个的number的元素 插入到这里
    for(auto &nu : number2){
        cout<<nu.first<<" "<<nu.second<<endl;
    }
}


int main(){
    test0();
    return 0;
}